package com.honey.sql92script.parser;

import com.honey.core.types.Vendor;

/**
 * mysql 数据库脚本
 * @author Administrator
 *
 */
public class MysqlVendorParser extends Sql92VendorParser{
	
	@Override
	String preprocessor(String script){
		//调用父类去掉sql语句中的注释
		script = super.preprocessor(script);
		//去掉sql语句中"`"字符
		return script.replaceAll("`", "");
	}
	
	@Override
	Vendor getVendor() {
		return new Vendor("Mysql",5,0);
	}
	
}
